<title><?= $sf_response->getTitle() ?></title>
<td><?php
    if ($mr3->getStatus() == CommonValues::$gMRStatus['key']['Initial'])
    	echo link_to($mr3->getMrno() ? $mr3->getMrno() : __('-'), 'mr3/edit?id='.$mr3->getId()) ;
    else if  ($mr3->getStatus() == CommonValues::$gMRStatus['key']['Cancel'])
    	echo link_to($mr3->getMrno() ? $mr3->getMrno() : __('-'), 'mr3/edit?id='.$mr3->getId(), array('confirm' => __('Are you sure you want to edit this canceled MR?'))) ;
    else if  ($mr3->getStatus() == CommonValues::$gMRStatus['key']['Rejected'])
        echo link_to($mr3->getMrno() ? $mr3->getMrno() : __('-'), 'mr3/edit?id='.$mr3->getId(), array('confirm' => __('Are you sure you want to edit this rejected MR?'))) ;
    else echo $mr3->getMrno();
    ?></td>

    <td><?php echo CommonValues::$gMRCategory['value'][$mr3->getCategory()] ?></td>
      <td><?php echo ($mr3->getReqarrdate() !== null && $mr3->getReqarrdate() !== '') ? format_date($mr3->getReqarrdate(), "D") : '' ?></td>
      <td><?php echo ($mr3->getCreatedAt() !== null && $mr3->getCreatedAt() !== '') ? format_date($mr3->getCreatedAt(), "D") : '' ?></td>
      <td><?php echo link_to($mr3->getComponentgroupId() ? image_tag('/sf/sf_admin/images/list.png', array('alt' => 'List', 'title' => 'List')):  __('-'), 'component/SLListModuleGroup?code='.$mr3->getMrno().'&componentgroup_id='.$mr3->getComponentgroupId().'&Authentication=VIEW_MRRAW&backURL=mr3~1list~2id~4'.$mr3->getId().'&titleqty=Qty to request') ?></td>
      <td><?php $user = sfGuardUserPeer::retrieveByPK($mr3->getUserId()); echo $user? $user->getFullname(): ''?></td>
      <td><?php echo CommonValues::$gMRStatus['value'][$mr3->getStatus()] ?></td>
      <td><?php echo CommonValues::$gMRApprovalStatus['value'][$mr3->getApprovalstatus()] ?></td>
  